const path = require('../utils/path');


export default  ({ env }) => {
  return {
    mode: env,
    entry: path.resolve('/src/index.ts'),
    output: {
      path: path.resolve('/dist'),
      filename: '[name].[contentHash].js'
    }
  }
}